
<!-- dont remove the hashed ones is for tagging and another for genrating tag cloud -->

<%# @advertisments.each do |ad| %>
  <%# @tags = Tag.create(:name => AutoTags::AutoTagsGeneration.generate_tags(ad.description).to_s) %>
  <%# AdvertismentsTag.create(:advertisment_id => ad.id , :tag_id => @tags.id) %>
<%#end%><%# @advertisments.each do |ad| %>




<% @tagcloud.each do |key,value| -%>
    <% @size = @minsize + ((value - @minval) * @step) -%>
       <div style="float:left;font-size:<%=  @size -%>px;"><%= link_to key,{:action => "insert_ads" } -%></div>
      
 <%end -%>


